Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.pypass: Remove nose dependency; modernize #330222

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

pyrox0
Copy link
Member

@pyrox0 pyrox0 commented Jul 26, 2024

Description of changes

Part of #326513

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Copy link
Member

@emilazy emilazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Result of nixpkgs-review pr 330222 run on x86_64-linux 1

6 packages built:
  • pass-secret-service
  • pass-secret-service.dist
  • pypass (python312Packages.pypass)
  • pypass.dist (python312Packages.pypass.dist)
  • python311Packages.pypass
  • python311Packages.pypass.dist

I’m a bit concerned about carrying a password manager that hasn’t been updated in half a decade and used random.choice to generate passwords as late as 2019, but it seems like python3Packages.pass-secret-service is semi‐actively updated and still depending on this. So, this is an improvement, thanks!

Note, though, that it looks like there’s more trouble brewing on the horizon:

pypass> /nix/store/niacps3c0qx734l2sw9fgxl5gjm365xs-python3.11-setuptools-70.0.0/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options
pypass> !!
pypass> 
pypass>         ********************************************************************************
pypass>         Usage of dash-separated 'description-file' will not be supported in future
pypass>         versions. Please use the underscore name 'description_file' instead.
pypass> 
pypass>         By 2024-Sep-26, you need to update your project and remove deprecated calls
pypass>         or your builds will no longer be supported.
pypass> 
pypass>         See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
pypass>         ********************************************************************************
pypass> 
pypass> !!

Comment on lines +72 to +74
# Presumably this test needs the X clipboard, which we don't have
# as the test environment is non-graphical.
disabledTests = [ "test_show_clip" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xvfb-run could come in handy here, but it’s not a big deal.

@emilazy emilazy merged commit 52699af into NixOS:master Jul 26, 2024
8 of 9 checks passed
@pyrox0 pyrox0 deleted the denose/pypass branch August 4, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants